﻿using System;
using System.Collections.Generic;
using System.Text;

public class DamageVo
{
    public int pos;

    /**
     *	伤害
     */
    public int damageHp;

    public int damageMp;

    
    //攻击类型 //1,普通攻击;2,暴击;3,招架4,格挡;5,闪避//
    public int result;

    public int dead;

    public int hp;

    public int maxhp;

    public int mp;

    public string buffer;

    public int bufferhp;

    public bool counterattack;

    public DamageVo(string damageHp, string damageMp, string result, string hp, string mp, string targetpos,
        string dead, string buffer, string maxhp, string bufferhp)
    {
        this.damageHp = int.Parse(damageHp);
        this.damageMp = int.Parse(damageMp);
        this.result = int.Parse(result);
        this.hp = int.Parse(hp);
        this.mp = int.Parse(mp);
        this.pos = int.Parse(targetpos);
        this.dead = int.Parse(dead);
        this.buffer = buffer;
        this.maxhp = int.Parse(maxhp);
        this.bufferhp = int.Parse(bufferhp);
    }


}